package com.etpjava.dao;

import java.util.Date;
import java.util.List;


import com.etpjava.model.Department;

public interface DepartmentDao {
	public boolean save(Department dp);
	public boolean updata(Department dp) ;
	public boolean delete(Department dp);
	public Department selectById(int id);
	public List<Department> selectByName(String name);
	public List<Department> selectByCreateTime(Date time);
	public List<Department> selectAll();
}
